package lagou.work2;

import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * 测试类
 */

public class Test {
    public static void main(String[] args) {

        ExecutorService executorService = Executors.newFixedThreadPool(8);
//        布置任务
        executorService.execute(new CopyAndDeleteThread());
//        关闭线程池
        executorService.shutdown();

    }
}

